home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Impression du dossier"
- ClientHeight = 4308
- ClientLeft = 1380
- ClientTop = 1356
- ClientWidth = 3372
- Height = 4692
- Icon = "imprim.frx":0000
- Left = 1332
- LinkTopic = "Form1"
- MouseIcon = "imprim.frx":0442
- ScaleHeight = 4308
- ScaleWidth = 3372
- Top = 1020
- Width = 3468
- Begin VB.DriveListBox Lecteur
- Height = 288
- Left = 120
- TabIndex = 4
- Top = 120
- Width = 3132
- End
- Begin VB.CommandButton Annuler
- Cancel = -1 'True
- Caption = "Annuler"
- Height = 492
- Left = 120
- MouseIcon = "imprim.frx":0884
- MousePointer = 99 'Custom
- TabIndex = 3
- Top = 3720
- Width = 1212
- End
- Begin VB.CommandButton imprimer
- BackColor = &H0000FFFF&
- Caption = "Imprimer"
- Default = -1 'True
- Height = 492
- Left = 1440
- MouseIcon = "imprim.frx":0CC6
- MousePointer = 99 'Custom
- TabIndex = 2
- Top = 3720
- Width = 1812
- End
- Begin VB.FileListBox Fichiers
- Height = 1392
- Left = 120
- TabIndex = 1
- Top = 2160
- Width = 3132
- End
- Begin VB.DirListBox R
- pertoires
- Height = 1536
- Left = 120
- TabIndex = 0
- Top = 480
- Width = 3132
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- rep$ = File1.Path
- rep$ = "command.com /c dir " + rep$
- rep$ = rep$ + ">lpt1"
- x = Shell(rep$, 6)
- End Sub
- Private Sub Annuler_Click()
- Unload Form1
- End Sub
- Private Sub Dir1_Change()
- File1.Path = Dir1.Path
- End Sub
- Private Sub Fichiers_Click()
- End Sub
- Private Sub imprimer_Click()
- rep$ = Fichiers.Path
- rep$ = "command.com /c dir " + rep$
- rep$ = rep$ + ">lpt1"
- x = Shell(rep$, 0)
- End Sub
- Private Sub Lecteur_Change()
- pertoires.Path = Lecteur.Drive
- End Sub
- Private Sub R
- pertoires_Change()
- Fichiers.Path = R
- pertoires.Path
- End Sub
-